import request from '@/util/axios';
import type { LedgerForm, ResultType } from './index_type';

enum API{
  LEDGER = 'http://27.115.98.190:31060/platform-entry/api/asset/ledger'
}

export const ldegerList = (data: LedgerForm) :Promise<ResultType>  => {
  return request.get(API.LEDGER, { params: data });
}